Skip to content

Fix isGenericArrayElement for higher-kinded types #22938

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 8, 2025

Conversation

odersky
Copy link
Contributor

@odersky odersky commented Apr 8, 2025

A higher-kinded type type A[T] has to be treated just like an abstract type type A.

Fixes #22888

A higher-kinded type `type A[T]` has to be treated just like an abstract type
`type A`.

Fixes scala#22888
@odersky odersky requested a review from smarter April 8, 2025 11:52
@smarter smarter enabled auto-merge April 8, 2025 12:45
@smarter smarter merged commit b1575f0 into scala:main Apr 8, 2025
28 checks passed
@smarter smarter deleted the fix22888 branch April 8, 2025 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Array[A[Int]] where A[_] is an abstract type member causes ClassCastException at runtime
2 participants